package com.dealinga.client;

import com.dealinga.shared.Server;
import com.dealinga.shared.User;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("greet")
public interface Service extends RemoteService {

	Server registrate(User user);
	String subscribe(User user) throws IllegalArgumentException;


}
